<template>
	<view class="page-container">
		<u-navbar
				:title="pageTitle"
				:leftText='leftTitle'
				:autoBack="true"
				:placeholder='true'
		>
		</u-navbar>
		
		<view class="page-container">
			<view class="search-bar">
				<u--input
					placeholder="请输入产品名称"
					:placeholderStyle='{color: "#999"}'
					border="surround"
					clearable
					prefixIcon="search"
					prefixIconStyle="font-size: 22px;color: #000"
					shape='circle'
					:value='searchVal'
				></u--input>
				<view class="suffix">搜索</view>
			</view>
						
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle: '  ',
				leftTitle: '门店名称',
				searchVal: ''
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.page-container{
	width: 100%;
	height: 100%;
	background-color: #FFF;
	margin-top: 10rpx;
}
.search-bar{
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 30rpx 20rpx;
	.suffix{
		padding-left: 20rpx;
		color: #999999;
	}
}
</style>
